package com.hzdh.account.repository.goods;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.hzdh.account.entity.goods.ToDayGoods;
import com.hzdh.account.response.account.list.ToAccountListResponse;
@Mapper
public interface ToDayGoodsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ToDayGoods record);

    int insertSelective(ToDayGoods record);

    ToDayGoods selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ToDayGoods record);

    int updateByPrimaryKey(ToDayGoods record);

	void insertDayGoodsBatch(@Param("toDayGoods") List<ToDayGoods> toDayGoods, @Param("dayCode")String dayCode);

	ToDayGoods selectDayGoodsByDaycode(String dayCode);

	/**
	 * 查询流水列表信息
	 * @param paramMap
	 * @return
	 */
	List<ToAccountListResponse> queryAccountGoodsList(Map<String, String> paramMap);
}